<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <title>地平线8号 行李箱| 官方网站</title>
    <link rel="stylesheet" type="text/css" href="css/index_test.css">
    <style>
        .el-carousel__container {
            position: relative;
            height: 430px;!important;
        }
    </style>
</head>
<body>
<!--***************头部********************-->
<div>
    <el-container>
        <el-header style="padding: 0;height:auto ">
            <div id="header-navbar"> 地平线8号 尽管出发 创造不凡</div>
            <!--        ************************************-->

            <div class="header222" style="overflow:hidden;margin: 0 auto;padding-top:15px;width: 80%">
                <div style=" width:20%;float: left;overflow:hidden; padding-top: 30px">
                    <a href="index_test2.html">
                    <img src="./images/logo.png" alt=""
                         style="float: left;margin-left:40px;padding-bottom:15px;width: 120px"></a>
                </div>
                <div style="float: left ;
                     vertical-align: bottom;
                      width: 50%;
                     padding-left: 20px">
                    <el-menu :default-active="activeIndex"
                             text-color="#000"
                             mode="horizontal"
                             @select="handleSelect"
                             active-text-color="#ffd04b">

                        <el-menu-item style="font-size: 12px;width: 15%;text-align: center" index="1"><a href="shopIndex_test.html">商城</a></el-menu-item>
                        <el-menu-item style="font-size: 12px;width: 15%;text-align: center" index="2"><a href="shoppingbrand_test.html">周边</a></el-menu-item>
                        <el-menu-item style="font-size: 12px;width: 15%;text-align: center" index="3"><a href="">MEDIA</a></el-menu-item>
                        <el-menu-item style="font-size: 12px;width: 15%;text-align: center" index="4"><a href="brand_test.html">品牌</a></el-menu-item>
                        <el-menu-item style="font-size: 12px;width: 15%;text-align: center" index="5"><a href="service_test3.html">服务</a></el-menu-item>
                        <el-menu-item style="font-size: 12px;width: 15%;text-align: center" index="6"><a href="vip.html">会员中心</a></el-menu-item>
                        <!--        <el-menu-item index="3" disabled>消息中心</el-menu-item>-->
                    </el-menu>
                    <div class="line" style=""></div>
                </div>

            </div>

        </el-header>
        <el-main>
            <div id="content" >
                <div class="swiper-container">
                    <template>
                        <div class="swiper-wrapper">
                            <el-carousel style="height: 430px">
                                <el-carousel-item v-for="url in arr">
                                    <img :src="url.url" alt="">
                                </el-carousel-item>
                            </el-carousel>
                        </div>
                    </template>
                </div>
                <div class="home-block" style="overflow: hidden">
                    <div class="block-img1 animIng" style="top: 0px;opacity: 1;float: left;">
                        <img src="./image/fudong1.png" alt="">
                    </div>
                    <div style="float: right ; margin-left: 100px" v-for="ling in showArr">
                        <div class="block-content-img"><img src="./image/biao.png" alt=""></div>
                        <div style="margin-top: 3rem;letter-spacing: 2px;font-size: 20px">{{ling.title}}</div>
                        <div class="font12" style="display: flex;margin-top: 1rem;letter-spacing: 1px;color: #333;">
                            <span>{{ling.desc}}</span>
                            <span style="margin:0 6px">丨</span>
                            <span>{{ling.desc}}</span>
                            <span style="margin:0 6px">丨</span>
                            <span>{{ling.desc}}</span>
                        </div>
                        <a href="https://shop.level8.com.cn/font/detail?id=100010&amp;skuId=1000027"
                           class="font13 shop-btn"
                           style="display: flex;align-items: center;cursor: pointer;color:black ">
                            SHOP ALL
                            <div style="width: 14px;margin-left: 10px;"><img src="./image/jt1.png"></div>
                        </a>
                    </div>
                </div>
                <div class="home-block" style="overflow: hidden" >
                    <div class="block-content2" v-for="ing in shingArr">
                        <div class="font20" style="margin-top: 3rem;letter-spacing: 2px;">{{ing.title}}</div>
                        <div class="font12" style="display: flex;margin-top: 1rem;letter-spacing: 1px;color: #333;">
                            <span>{{ing.desc}} </span>
                            <span style="margin:0 6px">丨</span>
                            <span>{{ing.desc}}</span>
                            <span style="margin:0 6px">丨</span>
                            <span>{{ing.desc}}</span>
                        </div>
                        <div class="block-products" style="margin-top: 48px;">
                            <a href="https://shop.level8.com.cn/font/shoppingInde?id=10001" class="block-product"
                               style="float: left;width: 30%;height: 30%;margin-right: 30%">
                                <div class="product-img" style=";margin-left: 20px;margin-bottom: 20px">
                                    <img src="./image/z1.png" >
                                </div>
                                <div class="shop-btn" style="display: flex;align-items: center;">SHOP LUGGAGE
                                    <div style="margin-left: 10px;"><img src="./image/jt1.png"></div>
                                </div>
                            </a>
                            <a href="https://shop.level8.com.cn/font/shoppingInde?id=10012" class="block-product"
                               style="float: left;width: 30%;height: 30% ">
                                <div class="product-img"style=";margin-left: 20px;margin-bottom: 20px">
                                    <img src="./image/z2.png">
                                </div>
                                <div class="shop-btn" style="display: flex;align-items: center;">
                                    SHOP BACKPACK
                                    <div style="margin-left: 10px;"><img src="./image/jt1.png"></div>
                                </div>
                            </a>
                        </div>
                    </div>
                    <div class="block-img2 animIng "
                         style="top: 0px;opacity: 1;overflow: hidden">
                        <img src="./image/fudong2.png" alt="">
                    </div>
                </div>
            </div>
            <center>
                <div class="home-infos" >
                    <!-- <template>
                         <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
                             <el-tab-pane  label="图片" name="first" style="margin-right:5px">
                                 <div style="float: right"><img src="./image/tp.jpg" alt=""></div>
                                 <div style="float: right"><img src="./image/tp1.jpg" alt="" ></div>

                             </el-tab-pane>
                             <el-tab-pane label="视频" name="second"></el-tab-pane>
                             <el-tab-pane label="文章" name="third"></el-tab-pane>
                         </el-tabs>
                     </template>-->
                    <div class="infos-tabs">
                        <div id="im" class="info-tab " onclick="f(this)"style="background-color: black;color: white">图 片</div>
                        <div id="im1" class="info-tab " onclick="f(this)">视 频</div>
                        <div id="im2" class="info-tab " onclick="f(this)">文 章</div>
                    </div>
                    <hr>
                    <div id="info-images" style="display: flex;">
                        <div class="info-img"v-for="fir in tpr">
                            <img :src="fir.url" alt="">
                        </div>
                        <div id="im3"style="display:none">
                            <div class="info-img" v-for="op in tpr2">
                                <img :src="op.url" alt="">
                            </div>
                        </div>
                    </div>
                    <div id="info-videos" style="display: none">
                        <video src="https://level8cases.oss-cn-hangzhou.aliyuncs.com/轻旅行16比9-823da83e-17d6-45ca-98a9-1d09f40f4d8e.mp4"
                               controls style="width: 70%;margin-top: 50px;margin-left: 200px"></video>
                    </div>
                    <div id="info-articles" style="display:none;">
                        <div style="width: 600px;">
                            <img src="./image/wz.png" alt=""
                                 style="width: 30%;margin-top: 30px ;margin-left:0px;margin-bottom: 25px">
                            <a href="/article.html?id=19" style="color: black;">见证中国设计的力量</a>
                            <br>
                            <a href="/article.html?id=19" style="color: #333333">地平线8号商务旅行箱斩获了<br>2019年德国红点产品设计奖</a>
                        </div>
                    </div>
                    <div style="display: block" class="read-more-img cursor-pointer" onclick="getImages(this)">
                        <div style="text-align: center;font-size: 30px;">+</div>
                        <div style="text-align: center;font-size: 10px;">加载更多</div>
                    </div>
                </div>
            </center>
        </el-main>


        <el-footer>
            <div id="footer" style="height: auto">
                <div id="footer-content">
                    <div id="footer-content-left">
                        <div id="footer-search" style="">
                            <input placeholder="搜索关键词">
                            <div>
                                <img src="./images/face-right-white.png">
                            </div>
                        </div>
                        <div id="footer-follow">
                            <span>FOLLOW US</span>
                            <a target="_blank" href=" https://weibo.com/level8official"><img
                                    src="./images/footer_icon_1.png"></a>
                            <!-- <a target="_blank" href=""><img src="/static/images/footer_icon_2.png"/></a> -->
                            <a target="_blank" href="https://www.instagram.com/level8_official/"><img
                                    src="./images/footer_icon_3.png"></a>
                            <a target="_blank" href="https://www.facebook.com/pg/Level8Group/shopify"><img
                                    src="./images/footer_icon_4.png"></a>
                            <a target="_blank"
                               href="https://space.bilibili.com/349904854?from=search&amp;seid=16496169767152971469&amp;spm_id_from=333.337.0.0"><img
                                    src="./images/footer_icon_5.png"></a>
                            <a target="_blank"
                               href="https://www.xiaohongshu.com/vipUser/profile/5c982e85000000001000bbd4?xhsshare=CopyLink&amp;appuid=5c0544836b58b714620b8753&amp;apptime=1636529051"><img
                                    src="./images/footer_icon_6.png"></a>
                        </div>
                    </div>
                    <div id="footer-content-right">
                        <div class="footer-code-item" style="border-right: 1px dashed #000;">
                            <div class="footer-code">
                                <img src="./images/footer_code1.png">
                            </div>
                            <div>绑定产品</div>
                        </div>
                        <div class="footer-code-item " style="border-right: 1px dashed #000;">
                            <div class="footer-code">
                                <img src="./images/footer_code2.png">
                            </div>
                            <div>关注公众号</div>
                        </div>
                        <div class="footer-code-item paddingR0">
                            <div class="footer-code">
                                <img src="./images/footer_code3.png">
                            </div>
                            <div>关注抖音</div>
                        </div>
                    </div>
                </div>
                <div id="footer-bottom">
                    <div id="footer-bottom-right">
                        <div style="margin-right: 20px;">© Copyright Level 8 2017</div>
                        <div>level8@level8cases.com</div>
                    </div>
                </div>
                <div class="gmt-footer-bottom">
                    <!-- class="container" -->
                    <div>版权所有 ©2021 &nbsp;&nbsp;公司名：厦门远行客智能科技有限公司
                        <a style="margin-left:10px;color: #000;" href="http://beian.miit.gov.cn">闽ICP备20000451号</a>
                    </div>
                </div>
            </div>
        </el-footer>
    </el-container>
    <div class="line"></div>
</div>
<!--*************************************尾部*************************-->
</div>
</body>
</html>
<script src="https://unpkg.com/vue@2.6.14/dist/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
<script>
    let v = new Vue({
        el: "body>div",

        data: function () {
            return {
                visible: false,
                activeIndex: '1',
                activeIndex2: '1',
                arr: [],
                showArr:[
                    {title:"铝镁合金商务旅行箱",desc:"航空专用铝材",desc:"金属轴承静音轮",desc:"慢回弹把手"},
                ],
                shingArr:[
                    {title:"PC 旅行箱",desc:"100% PC材质",desc:"YKK拉链",desc:"小 R 角超大收纳"}
                ],
                tpr: [],
                tpr2:[],
                activeName: 'first'
            }
        },


        methods: {
            handleSelect(key, keyPath) {
                console.log(key, keyPath);
            },
            handleClick(tab, event) {
                console.log(tab, event);

            }
        },
        created:function (){
            axios.get("/lbt/select").then(function (response){
                v.arr = response.data;
            })
            axios.get("/tp/select").then(function (response){
                v.tpr = response.data;
            })
            axios.get("/more/select").then(function (response){
                v.tpr2 = response.data;
            })
        }

    })

    function f(x) {
        var a1 = document.getElementById('info-images');
        var a2 = document.getElementById('info-videos');
        var a3 = document.getElementById('info-articles');
        var xx = document.querySelectorAll(".info-tab")

        if (x.id == 'im') {
            a1.style.display = 'flex';
            a2.style.display = 'none';
            a3.style.display = 'none';
            x.style.backgroundColor="black"
            x.style.color="white";
            xx[1].style.backgroundColor="white";
            xx[1].style.color="black"
            xx[2].style.backgroundColor="white";
            xx[2].style.color="black"

        } else if (x.id == 'im1') {
            a2.style.display = 'flex';
            a1.style.display = 'none';
            a3.style.display = 'none';
            x.style.backgroundColor="black"
            x.style.color="white";
            xx[0].style.backgroundColor="white";
            xx[0].style.color="black"
            xx[2].style.backgroundColor="white";
            xx[2].style.color="black"
        } else {
            a3.style.display = 'flex';
            a2.style.display = 'none';
            a1.style.display = 'none';
            x.style.backgroundColor="black"
            x.style.color="white";
            xx[1].style.backgroundColor="white";
            xx[1].style.color="black"
            xx[0].style.backgroundColor="white";
            xx[0].style.color="black"
        }

    }

    function getImages(a) {
        var s = document.getElementById("im3")
        s.style.display = "flex"
        a.style.display = "none"
    }
</script>
